package com.dms.modules.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "地区树形结构")
public class RegionTreeVO {
    
    @ApiModelProperty("区域编码")
    private String code;
    
    @ApiModelProperty("区域名称")
    private String name;
    
    @ApiModelProperty("区域级别(1:省,2:市,3:区县)")
    private Integer level;
    
    @ApiModelProperty("子区域")
    private List<RegionTreeVO> children;
} 